package com.huayue.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huayue.dao.BaseDao;
import com.huayue.dao.RoomProductDao;
import com.huayue.entity.RoomProduct;

/**
 * 房间商品
 */
@Service
public class RoomProductService extends BaseService<RoomProduct> {
    @Autowired
    RoomProductDao room_productDao;

    @Override
    public BaseDao<RoomProduct> getDao() {
        return room_productDao;
    }

    public List<Map<String, Object>> findRoom_product_type() {
        return room_productDao.findRoom_product_type();
    }

    public List<Map<String, Object>> findProduct() {
        return room_productDao.findProduct();
    }
}
